package com.genersoft.iot.vmp.gb28181.third.event;

import com.genersoft.iot.vmp.gb28181.bean.Device;
import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * @author XJW
 */
public class CallBackEvent extends ApplicationEvent {

    private static final long serialVersionUID = 1L;

    public CallBackEvent(Object source) {
        super(source);
    }

    private Device device;

    private List<DeviceChannel> deviceChannels;

    private String from;

    public Device getDevice() {
        return device;
    }

    public void setDevice(Device device) {
        this.device = device;
    }

    public List<DeviceChannel> getDeviceChannels() {
        return deviceChannels;
    }

    public void setDeviceChannels(List<DeviceChannel> deviceChannels) {
        this.deviceChannels = deviceChannels;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }
}
